{template "content","header"}

<div class="main">
	<div class="col-left">
    	<div class="crumbs"><a href="{siteurl($siteid)}">首页</a><span> &gt; </span>{catpos($catid,'')} >> <a href="{$url}">{$title}</a>  >> {$title}{$jstitle}在线观看{$getf}</div>
        <div id="Article">
        	<h1>{$title}{$jstitle}<br />
<span>{$inputtime}&nbsp;&nbsp;&nbsp;来源：{$copyfrom}&nbsp;&nbsp;&nbsp;评论：<a href="#comment_iframe" id="comment">0</a> 点击：</span><span id="hits"></span></h1>
			<div class="content">

{$content}

			</div>

<style type="text/css">
.currentj {color:red;width:80px;height:25px;border:1px solid #f00;}
.playera a{padding-right:5px;}
.playcode {text-align:center;}
.playerlist a{width:68px;float:left;line-height:25px;height:25px;overflow:hidden;}
</style>
<script type="text/javascript" src="{JS_PATH}cookie.js"></script>
<script type="text/javascript">
$(document).ready(function(){   
if(getcookie('gvod') == {$id}) $('#gvod').hide();
if(getcookie('qvod') == {$id}) $('#qvod').hide();
if(getcookie('flv') == {$id}) $('#flv').hide();
});
</script>

<div class="playcode">
{$jstitle}在线观看:<br>
{$playcode}</div>


<fieldset>
	<legend class="f14">GVOD分集地址 <a href="javascript:void(0);" onclick="$('#gvod').show();setcookie('gvod',null,30);" title="显示GVOD分集地址"> + </a> &nbsp; <a href="javascript:void(0);" onclick="$('#gvod').hide();setcookie('gvod',{$id},30);" title="隐藏GVOD分集地址"> - </a> </legend><ul class="list blue row-2 playera">
<div id="gvod"><?php echo $this->video('gvod',$rs['gvod']?$rs['gvod']:$gvod,1);?></div>
</ul>
</fieldset>

<fieldset>
	<legend class="f14">QVOD分集地址 <a href="javascript:void(0);" onclick="$('#qvod').show();setcookie('qvod',null,30);" title="显示QVOD分集地址"> + </a> &nbsp; <a href="javascript:void(0);" onclick="$('#qvod').hide();setcookie('qvod',{$id},30);" title="隐藏QVOD分集地址"> - </a> </legend><ul class="list blue row-2 playera">
<div id="qvod"><?php echo $this->video('qvod',$rs['qvod']?$rs['qvod']:$qvod,1);?></div>
</ul>
</fieldset>

<fieldset>
	<legend class="f14">FLV分集地址 <a href="javascript:void(0);" onclick="$('#flv').show();setcookie('flv',null,30);" title="显示flv分集地址"> + </a> &nbsp; <a href="javascript:void(0);" onclick="$('#flv').hide();setcookie('flv',{$id},30);" title="隐藏flv分集地址"> - </a> </legend><ul class="list blue row-2 playera">
<div id="flv"><?php echo $this->video('flv',$rs['flv']?$rs['flv']:$flv,1);?></div>
</ul>
</fieldset>


			<div id="pages" class="text-c">{$pages}</div>
            <p style="margin-bottom:10px">
            <strong>相关热词搜索：</strong>{loop $keywords $keyword}<a href="{APP_PATH}index.php?m=content&c=tag&catid={$catid}&tag={urlencode($keyword)}" class="blue">{$keyword}</a> 	{/loop}
            </p>
            <p class="f14">
                <strong>上一篇：</strong><a href="{$previous_page[url]}">{$previous_page[title]}</a><br />
                <strong>下一篇：</strong><a href="{$next_page[url]}">{$next_page[title]}</a>
            </p>
          {pc:content action="relation" relation="$relation" id="$id" catid="$catid" num="5" keywords="$rs[keywords]"}
              {if $data}
                <div class="related">
                    <h5 class="blue">延伸阅读：</h5>
                    <ul class="list blue lh24 f14">
                        {loop $data $r}
                            <li>·<a href="{$r[url]}" target="_blank">{$r[title]}</a><span>({date('Y-m-d',$r[inputtime])})</span></li>
                        {/loop}
                    </ul>
                </div>
              {/if}
          {/pc}
          <div class="bk15"></div>
            {if module_exists('mood')}<script type="text/javascript" src="{APP_PATH}index.php?m=mood&c=index&a=init&id={id_encode($catid,$id,$siteid)}"></script>{/if}
      </div>
      <div class="Article-Tool">
          分享到：
          <script type="text/javascript">document.write('<a href="http://v.t.sina.com.cn/share/share.php?url='+encodeURIComponent(location.href)+'&appkey=3172366919&title='+encodeURIComponent('{new_addslashes($title)}')+'" title="分享到新浪微博" class="t1" target="_blank">&nbsp;</a>');</script>
		  <script type="text/javascript">document.write('<a href="http://www.douban.com/recommend/?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent('{new_addslashes($title)}')+'" title="分享到豆瓣" class="t2" target="_blank">&nbsp;</a>');</script>
		  <script type="text/javascript">document.write('<a href="http://share.renren.com/share/buttonshare.do?link='+encodeURIComponent(location.href)+'&title='+encodeURIComponent('{new_addslashes($title)}')+'" title="分享到人人" class="t3" target="_blank">&nbsp;</a>');</script>
		  <script type="text/javascript">document.write('<a href="http://www.kaixin001.com/repaste/share.php?rtitle='+encodeURIComponent('{new_addslashes($title)}')+'&rurl='+encodeURIComponent(location.href)+'&rcontent=" title="分享到开心网" class="t4" target="_blank">&nbsp;</a>');</script>
		  <script type="text/javascript">document.write('<a href="http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url='+encodeURIComponent(location.href)+'" title="分享到QQ空间" class="t5" target="_blank">&nbsp;</a>');</script>
      
	  <span id='favorite'>
		<a href="javascript:;" onclick="add_favorite('{$title}');" class="t6">收藏</a>
	  </span>

	  </div>
      <div class="bk10"></div>
      {if $allow_comment}
      <iframe src="{APP_PATH}index.php?m=comment&c=index&a=init&commentid={id_encode("content_$catid",$id,$siteid)}&iframe=1" width="100%" height="100%" id="comment_iframe" frameborder="0" scrolling="no"></iframe>
      <div class="box">
        		<h5>评论排行</h5>
				 {pc:comment action="bang" siteid="$siteid" cache="3600"}
            	<ul class="content list blue f14 row-2">
				{loop $data $r}
                	<li>·<a href="{$r[url]}" target="_blank">{str_cut($r[title], 40)}</a><span>({$r[total]})</span></li>
					{/loop}
                </ul>
				{/pc}
        </div>
        {/if}
  </div>
    <div class="col-auto">
        <div class="box">
            <h5 class="title-2">频道总排行</h5>
            <ul class="content digg">
			{pc:content  action="hits" catid="$catid" num="10" order="views DESC" cache="3600"}
				{loop $data $r}
					<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title], 28, '')}</a></li>
				{/loop}
			{/pc}
            </ul>
        </div>
        <div class="bk10"></div>
        <div class="box">
            <h5 class="title-2">分集地址</h5>
            <ul class="content rank playerlist">
{$playerlist}
            </ul>
        </div>
    </div>
</div>
<script type="text/javascript">
<!--
	function show_ajax(obj) {
		var keywords = $(obj).text();
		var offset = $(obj).offset();
		var jsonitem = '';
		$.getJSON("{APP_PATH}index.php?m=content&c=index&a=json_list&type=keyword&modelid={$modelid}&id={$id}&keywords="+encodeURIComponent(keywords),
				function(data){
				var j = 1;
				var string = "<div class='point key-float'><div style='position:relative'><div class='arro'></div>";
				string += "<a href='JavaScript:;' onclick='$(this).parent().parent().remove();' hidefocus='true' class='close'><span>关闭</span></a><div class='contents f12'>";
				if(data!=0) {
				  $.each(data, function(i,item){
					j = i+1;
					jsonitem += "<a href='"+item.url+"' target='_blank'>"+j+"、"+item.title+"</a><BR>";
					
				  });
					string += jsonitem;
				} else {
					string += '没有找到相关的信息！';
				}
					string += "</div><span class='o1'></span><span class='o2'></span><span class='o3'></span><span class='o4'></span></div></div>";		
					$(obj).after(string);
					$('.key-float').mouseover(
						function (){
							$(this).siblings().css({"z-index":0})
							$(this).css({"z-index":1001});
						}
					)
					$(obj).next().css({ "left": +offset.left-100, "top": +offset.top+$(obj).height()+12});
				});
	}

	function add_favorite(title) {
		$.getJSON('{APP_PATH}phpcmsapi.php?op=add_favorite&title='+encodeURIComponent(title)+'&url='+encodeURIComponent(location.href)+'&'+Math.random()+'&callback=?', function(data){
			if(data.status==1)	{
				$("#favorite").html('收藏成功');
			} else {
				alert('请登录');
			}
		});
	}

$(function(){
  $('#Article .content img').LoadImage(true, 660, 660,'{IMG_PATH}s_nopic.gif');    
})
//-->
</script>

<script language="JavaScript" src="{APP_PATH}phpcmsapi.php?op=count&id={$id}&modelid={$modelid}"></script>
{template "content","footer"}